package nl.avans.osgi.hgttg.questions.impl;

import nl.avans.osgi.hgttg.questions.Question;

public class QuestionImpl implements Question {
    
    private String question;
    private String from;
    
    public QuestionImpl(String from, String question) {
        this.from = from;
        this.question = question;
    }
    
    @Override
    public String getQuestion() {
        return from + ": " + question;
    }

    @Override
    public boolean isFromMice() {
        return from.equalsIgnoreCase("Benjy") || from.equalsIgnoreCase("Frankie");
    }

}
